/**
 * @Title: practiceDao.java
 * @Package com.car.dal.dao.practice
 * @Description: TODO
 * Copyright: Copyright (c) 2016
 * Company:华夏二手车网
 * @author geyang
 * @date 2016年6月9日 下午7:14:21
 * @version V1.0
 */
package com.car.dal.dao.client;

import java.util.List;

import com.car.bean.GridObj;
import com.car.bean.PageObj;
import com.car.dal.dao.ibatis.CommonDaoInterface;
import com.car.dal.object.TgClient;
import com.car.util.Page;

public interface TgClientDao extends CommonDaoInterface<TgClient, Long> {

    public GridObj GetList(TgClient client, PageObj pageObj);

    public Integer getClientCount(TgClient client);

    public List<TgClient> getTgClientByType(TgClient client, Page page);

    public List<TgClient> getClientByTypeCdate(TgClient client, Page page);

    public List<TgClient> getkeyword(TgClient client);

    public List<TgClient> clientlistXz(TgClient client);

    public Integer getClientCounts(TgClient client);

    //查询联系方式
    public Integer getClientQuery(TgClient client);

    //查询老师
    public List<TgClient> getClientName(TgClient client);

    public Integer getClient_tempCount(TgClient client);

    public List<TgClient> getClientByKeyname(TgClient client);

    public Integer getClientCountByType(TgClient client);

    public List<TgClient> getClientListByType(TgClient client, Page page);

    public List<TgClient> getClientByTypes(TgClient client);

    public List<TgClient> getClientByPhone(TgClient client);

    public List<TgClient> getClientBySystem(TgClient client, Page page);

    public List<TgClient> getClientallot(TgClient client);

    public Integer getClientSystem(TgClient client);

    //周统计
    public Integer getZonClientCount(TgClient client);

    public Integer getWuxiaoClientCount(TgClient client);

    public Integer getBendiClientCount(TgClient client);

    public Integer getWaidiClientCount(TgClient client);

    public Integer getZhuanchuClientCount(TgClient client);

    public Integer getClientCountByTime(TgClient client);

    public Integer getClientsCountByType(TgClient client);

    public List<TgClient> getClientCityByType(TgClient client);
    
    public Integer editSourceByKeyname(String client, String regionns);

	public Integer getClientCountImpCBySource(TgClient client);
	
	public List<TgClient> getClientListImpBySource(TgClient client, Page page);
	
	
	public List<TgClient> getStudentByName(TgClient client);

	public Integer getClientCount3(TgClient client);

	public List<TgClient> getTgClientByType3(TgClient client, Page page);

	public List<TgClient> getClientByTypeCdate3(TgClient client, Page page);

	public Integer getClientCount2(TgClient client);

	public List<TgClient> getClientByTypeCdate2(TgClient client, Page page);

	public List<TgClient> getTgClientByType2(TgClient client, Page page);

	public Integer getClientCountMarket(TgClient client);

	public List<TgClient> getClientlistMarket(TgClient client, Page page);

	public Integer getClientCount4(TgClient client);

	public List<TgClient> getClientByTypeCdate4(TgClient client, Page page);

	public List<TgClient> getTgClientByType4(TgClient client, Page page);

	public Integer getClientCount5(TgClient client);

	public List<TgClient> getTgClientByType5(TgClient client, Page page);
}
